<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>个人资料-途家网</title>
<meta name="keywords" content='日租,短租,日租房,短租房,度假公寓,家庭旅馆' />
<meta name='description' content="日租,短租,日租房,短租房,度假公寓,家庭旅馆" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/style1/style/style.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/validform/validform.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/style1/style/user.css" />
<script type='text/javascript' src='__PUBLIC__/style1/js/jquery-1.8.1.min.js'></script>
<script type='text/javascript' src='__DATA__/Validform_v5.1_min.js'></script>
<script type='text/javascript' src='__PUBLIC__/validform/validata.js'></script>
<script type='text/javascript' src='__PUBLIC__/style1/js/public.js'></script>
<script type='text/javascript' src='__PUBLIC__/style1/js/reg.js'></script>
<jsconst />
</head>
<body>
	<loadfile file='public/header.html' />
	<!--面包屑导航-->
	<div class='split_bg'>
		<div class='split'>
			
		</div>
	</div>
	<div id='orderWrapper'>
		<div class='orderleft'>
			<div class="user">
			    <div class="userInfo"><strong>包菜兄</strong><br />积分：<span class="integral">700</span></div>
		    </div>
		    <div class="menu">
			    <ul>
				   <li><a id="myorders" href="__CONTROL__/orderlist">我的订单</a></li>
				    <li><a id="mycomments" href="__CONTROL__/commentlist">点评</a></li>
				    <li><a id="myinfo" href="__CONTROL__/userinfo" class='current'>个人资料</a></li>
				    <li><a id="mycredits" href="__CONTROL__/credits">我的积分</a></li>
				    <li><a id="mypassword" href="__CONTROL__/changepassword">修改密码</a></li>
			    </ul>
		    </div>
		</div>
		<div class='orderrigth'>
			<div class=orderright_Head>
				<h4>个人资料</h4>
			</div>
			<div class="PersonalInfo">
				<h4>基本资料</h4>
			    <form action="__CONTROL__/userinfo_modify" method="post" class='tujia' >
				<div class="infobox">
					<div class="divItem">
						<label for="">用户名</label>
			            <input id="LoginName" name="userame" type="hidden" value="包菜兄"/>
			            <span class="defvalue">{$user.username}</span>
			            <a href="#" class="modifySubmit">修改</a>
					</div>
					<div class="divItem">
						<label for="">邮  箱</label>
			            <span class="defvalue">{$user.email}</span>
						<a href="#" class="modifySubmit" >修改</a>
						<if value='$user.checkemail eq 0'><span class='tishi'>邮箱号尚未验证，<a  href="#">立即验证</a></span></if>
					</div>
					<div class="divItem">
						<label for="">手机号</label>
			            <span class="defvalue">{$user.mobile}</span>
			            <a href="#" class="modifySubmit" >修改</a>
						<if value='$user.checkmobile eq 0'><span class='tishi'>手机号尚未验证，<a  href="#">立即验证</a></span></if>
					</div>
					<div class="divItem">
						<label for="">真实姓名</label>
			            <input class="textIpt" name="truename" type="text" value="{$user.truename}" />
			            <div class="info"><span class="Validform_checktip"></span></div>
					</div>
					<div class="divItem">
						<label for="">所在城市</label>
			            <input class="textIpt"  name="incity" type="text" value="{$user.incity}"/>
			            <div class="info"><span class="Validform_checktip"></span></div>
					</div>
					<div class="divItem">
						<label for="">性别</label>
						<div class="selectBox">
							<select name="sex">
								<option value="3" <if value='$user.sex eq "保密"'>selected='selected'</if>>保密</option>
								<option value="1" <if value='$user.sex eq "男"'>selected='selected'</if>>男</option>
								<option value="2" <if value='$user.sex eq "女"'>selected='selected'</if>>女</option>
							</select>
						</div>
					</div>
					<div class="divItem">
						<label for="">出生日期</label>
						<input  class="date" errormsg="生日年份必须形如yyyy" datatype='n0-4' name="birth1[]" type="text" value="{$user.birth|date:'Y',@@}" /><strong>年</strong>
						<input class="date"  errormsg="生日月份必须是1-12之内的数" datatype='n0-2' name="birth1[]" type="text" value="{$user.birth|date:'m',@@}" /><strong>月</strong>
						<input class="date"  errormsg="生日日期必须是1-31之内的数" datatype='n0-2' name="birth1[]" type="text" value="{$user.birth|date:'d',@@}" /><strong>日</strong>
					</div>
					<div class="divItem">
						<label for="">注册时间</label>
						<span class="defvalue">{$user.regtime|date:'Y-m-d',@@}</span>
						<div class="info"><span class="Validform_checktip"></span></div>
					</div>
					<div class="divItem">
						<label for="">职业</label>
						<input class="textIpt"name="job" type="text" value="{$user.job}" errormsg='职业格式不正确(4-20)' datatype='*2-20'/>
			            <div class="info"><span class="Validform_checktip"></span></div>
					</div>
					<div class="divItem">
						<label for="">公司名称</label>
			            <input class="textIpt" name="company" type="text" value="{$user.company}" errormsg='公司名称格式不正确(5-100)' datatype='*4-100'/>
			            <div class="info"><span class="Validform_checktip"></span></div>
					</div>
					<div class="divItem">
						<label for="">详细地址</label>
			            <input class="detailedIpt"  name="address" type="text" value="{$user.address}" errormsg='地址不正确(5-100)' datatype='*5-100'/>
			            <div class="info"><span class="Validform_checktip"></span></div>
					</div>
					<div class="submituser">
						<input type='hidden' name='uid' value='{$user.uid}' />
						<input type="submit" value="修改并提交" />
					</div>
				</div>
			    </form>
			</div>
		</div>
	</div>
	<loadfile file='public/footer.html' />
	</body>
</html>